package plots;


/**
 * A plot regenerator that fully replenishes the plots' maximum yield capacity. 
 */
public class FullPlotRegenerator implements PlotRegenerator {

	/**
	 * @see PlotFactory
	 */
	protected FullPlotRegenerator() {}
	
	
	@Override
	public double regenerate(Plot plot) {
		return plot.yield = plot.maxYield;
	}
}
